package com.cszy.yydqbfq.utils

import com.hlyj.http.base.tool.lib_hlyj_base.BaseApplication
import com.tencent.vasdolly.helper.ChannelReaderUtil


object AppUtil {

    /**
     * 渠道号
     */
    fun getChannel():String{
        val channel = ChannelReaderUtil.getChannel(BaseApplication.instance.applicationContext)
        if (channel.isEmpty()){
            return "baidu"
        }
        return channel
    }

    fun isChannel003():Boolean{
        return getChannel() == "baidu"
    }



}